<?php
/**
 * @link https://www.kancloud.cn/cleverstone/ymb2
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace builder\base;

/**
 * 视图构建器接口
 * @author cleverstone
 * @since ym2.0
 */
interface ViewBuilderInterface
{
    /**
     * 组件内容渲染函数
     * @param boolean $onlyRenderContent 是否仅渲染内容
     * @return string
     */
    public function render($onlyRenderContent = false);
}